package com.campus.counseling.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.campus.counseling.model.dto.ArticleDTO;
import com.campus.counseling.model.query.ArticleQuery;
import com.campus.counseling.model.vo.ArticleVO;

public interface ArticleService {
    Page<ArticleVO> list(ArticleQuery query);
    
    ArticleVO getArticle(Long id);
    
    void add(ArticleDTO articleDTO);
    
    void update(Long id, ArticleDTO articleDTO);
    
    void delete(Long id);
    
    void updateOrder(Long id, Integer orderNum);
} 